home *** CD-ROM | disk | FTP | other *** search
/ CU Amiga Super CD-ROM 25 / CU Amiga Magazine's Super CD-ROM 25 (1998)(EMAP Images)(GB)(Track 1 of 2)[!][issue 1998-08].iso / CUCD / Programming / ixemul / doc / TODO < prev   
Encoding:
Text File  |  1998-04-18  |  2.6 KB  |  79 lines

  1. ***    Add support for serial line I/O, allowing a port of GNU (Taylor's)
  2.     UUCP.
  3.  
  4. ***    Add job control support. Partial support for stopping/resuming processes
  5.     is already in place but it needs to be generalized so that it can be
  6.     user for job control.
  7.  
  8. ***    The stat() function (and/or opendir() ) is slow. Is it possible to
  9.     speed this up?
  10.  
  11. ***    Improve the (currently only partially implemented) ix.h header.
  12.  
  13. ***     Document how to implement a fork() emulation
  14.  
  15. ***    Amiga<->Unix pathname handling scheme:
  16.  
  17.     The following scheme might be feasible:
  18.     
  19.     Either through a function call or through a global variable, a program
  20.     tells ixemul that it can use Amiga pathnames. In that case ixemul will
  21.     translate all filenames to Unix pathnames internally. E.g., the open()
  22.     function will start with this code:
  23.     
  24.       if (process_can_use_amiga_pathnames)
  25.         pathname = a2u(pathname);
  26.     
  27.     Similar code is needed for fopen(), etc.
  28.     
  29.     With ixprefs you can state whether you want to accept these hints from
  30.     programs or not.
  31.     
  32.     This means that a program must be prepared to handle both kinds of
  33.     pathnames. This is only a problem if your program tries to parse the
  34.     pathname.
  35.     
  36.     I think a function 'int ix_can_use_amiga_pathnames(void)' that returns TRUE
  37.     if the user (through ixprefs) also accepts amiga pathnames would be the
  38.     best way to do this.
  39.     
  40.     Functions a2u() and u2a() for pathname conversion would also be exported
  41.     from ixemul (they are already available internally).
  42.  
  43. ***    #include <unistd.h>
  44.  
  45.     main()
  46.     {
  47.       char foo[1000];
  48.       read(0,foo,999);
  49.     }
  50.  
  51.     Run this program, press Ctrl-C and it looks as if nothing has
  52.     happened. You will have to actually press enter to see the
  53.     shell prompt.
  54.  
  55. ***    Open the math libraries on a per-task basis.
  56.  
  57. ***    The initial value of the frame pointer is not set to NULL (as
  58.     it should be). This makes backtracking the stack a bit more
  59.     complicated as the current frame pointer has to be checked for
  60.     being inside the current maximum stack frame (and it's almost
  61.     impossible to do that with stackextension enabled...).
  62.  
  63. ***    Implement socketpair().
  64.  
  65. ***    ixstack should be able to modify stack even if the file is write protected
  66.     (just like gzip).
  67.  
  68. ***    Add proper locale support.
  69.  
  70. ***    Improve math handling (especially math.h, ask Kriton for more info)
  71.  
  72. ***    At every ixemul open ixnet tries to open bsdsocket.library or
  73.     socket.library. If these are not present, it will do a disk access
  74.     in LIBS, which is a performance penalty. Can we find something more
  75.     elegant?
  76.  
  77. ***    Make it possible for a program to turn off the Unix path
  78.     translation of ixemul, so that it can use standard Amiga names.
  79.